<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main-widger" />
        <title>Widget List</title>
    </head>
    <body>
        <div class="body">
            <h1>Widget List</h1>
            <div class="list">
		<ul>
                    <g:each in="${widgetInstanceList}" status="i" var="widgetInstance">
                       <li><g:link action="show" id="${widgetInstance.id}">${fieldValue(bean:widgetInstance, field:'name')}</g:link>:<wa:iwgCtlLink id="${widgetInstance?.id}" name="[Install]"/>
                    </g:each>
                </ul>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${Widget.count()}" />
            </div>
        </div>
    </body>
</html>
